<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Global</title>
    
    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">
    
    <h1 class="page-title">Global</h1>
    
    



<section>
    
<header>
    <h2>
    
    </h2>
    
</header>  

<article>
    <div class="container-overview">
    
    
    
        
        
        
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

        
        
    
    </div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        <h3 class="subsection-title">Methods</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="initAjaxBeforeShow"><span class="type-signature"></span>initAjaxBeforeShow<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        在页面显示之前的初始化动作
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line611">line 611</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initControlLabelTooltips"><span class="type-signature"></span>initControlLabelTooltips<span class="signature">(data-tooltips, data-tooltipster-position)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        表单输入元素的tooltips提示组件: .control-label[data-tooltips]
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-tooltips</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'提示信息文本'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-tooltipster-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'top|bottom|left|right' 控制显示位置，默认top</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line670">line 670</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;label class="control-label" data-tooltips="[输入提示说明内容]">金额&lt;/label></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDataProfileParam"><span class="type-signature"></span>initDataProfileParam<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        个人收藏支持功能的表单输入组件：input[data-profile-param],radio[data-profile-param],select[data-profile-param]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-profile-param</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">个性配置参数唯一标识名称</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line15">line 15</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-profile-param="default_order_type"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDatePicker"><span class="type-signature"></span>initDatePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        年月日日期选取组件: input[data-picker="date"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-format</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">自定义格式字符串，默认为 yyyy-mm-dd，@see https://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line502">line 502</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="saleDate" class="form-control" data-picker="date" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDateRangePicker"><span class="type-signature"></span>initDateRangePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        时间段 选取组件: input[data-picker="date-range"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date-range：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-date-scope</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">显示可选范围定义：afterNow=当前时间之后；beforeNow=当前时间之前， 可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line588">line 588</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="searchFromTo" class="form-control" data-picker="date-range" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDateTimePicker"><span class="type-signature"></span>initDateTimePicker<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        年月日-时分 选取组件: input[data-picker="date-time"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-picker</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">date-time：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-format</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">自定义格式字符串，默认为 yyyy-mm-dd hh:ii，@see https://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line548">line 548</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="operationTime" class="form-control" data-picker="date-time" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDropdownSelect"><span class="type-signature"></span>initDropdownSelect<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        以Dropdown形式弹出AJAX加载DIV区域：input[data-toggle="dropdown-select"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">dropdown-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">弹出DIV AJAX内容的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-selected</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">在data-url基础上额外追加选中项参数值：&selected=123，传给后端服务器显示页面处理</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-min-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">设置最小宽度，避免数据显示拥挤错位，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line34">line 34</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="treeselect" data-url="${ctx}/department/tree-datas.json"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initDynamicTable"><span class="type-signature"></span>initDynamicTable<span class="signature">(data-dynamic-table, data-height)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        动态表格组件: table[data-dynamic-table]
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-dynamic-table</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'编辑器高度' 默认500</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line18">line 18</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;label class="control-label" data-tooltips="[输入提示说明内容]">金额&lt;/label></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initGrid"><span class="type-signature"></span>initGrid<span class="signature">(url, colModel, postData, editurl, editrulesurl, delurl)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        初始化指定grid元素，默认取元素的gridOptions数据值，options为可选覆盖参数表格属性参数：
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">发起AJAX数据请求的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>colModel</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">列属性参数对象，详见随后参数说明</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>postData</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">固定追加的查询参数JSON结构数据对象</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>editurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline编辑模式POST提交请求的处理url地址，没有此参数则工具条屏蔽相关编辑操作按钮</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>editrulesurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline编辑模式自动表单校验规则请求url，一般固定为：WEB_ROOT + '/admin/util/validate?clazz=$\{clazz\}'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>delurl</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">inline删除操作请求url，没有此参数则工具条屏蔽相关删除操作按钮</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line1242">line 1242</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initImagePreivew"><span class="type-signature"></span>initImagePreivew<span class="signature">(data-toggle)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        为img元素提供预览大图效果: img[data-toggle='preview']
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'preview'</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line756">line 756</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;label class="control-label" data-tooltips="[输入提示说明内容]">金额&lt;/label></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initMultiSelectDouble"><span class="type-signature"></span>initMultiSelectDouble<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于multiSelect封装的左右互选组件: select[data-toggle="double-multi-select"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">double-multi-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">组件高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line134">line 134</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedIds" items="${multiSelectItems}" class="form-control" data-toggle="double-multi-select" data-height="300px" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initRecursiveSubGrid"><span class="type-signature"></span>initRecursiveSubGrid<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        递归初始化子表格
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line2945">line 2945</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2"><span class="type-signature"></span>initSelect2<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件扩展标准的下拉框组件: 其他非特殊的select以外元素
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">未定义=默认处理；combobox=输入选取组合</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-allow-clear</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">默认为可清除，设置为false取消可清除支持，可选</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Map结构数据的URL地址用于组装下拉选项列表，可选</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line194">line 194</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedIds" items="${multiSelectItems}" class="form-control" data-toggle="double-multi-select" data-height="300px" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2Remote"><span class="type-signature"></span>initSelect2Remote<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件扩展输入框提供基于输入内容remote查询列表选取: input[data-select2-type="remote"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">remote：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-display</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">显示字面值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Map结构数据的URL地址用于组装下拉选项列表</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-query</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">带入查询URL的查询参数名称，最终形成AJAX请求URL：?{data-query}=输入值</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line333">line 333</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:select path="selectedIds" items="${multiSelectItems}" class="form-control" data-toggle="double-multi-select" data-height="300px" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSelect2Tags"><span class="type-signature"></span>initSelect2Tags<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于Select2组件自由输入多个Tag: input[data-select2-type="tags"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-select2-type</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tags：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">已选取集合，逗号分隔字符串形式</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-tags</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">备选选取集合，逗号分隔字符串形式</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">data-url</span>


            
            </td>
            
            
            
            
            
            <td class="description last">指向返回Set结构数据的备选选取集合，最终形成AJAX请求URL：?q=输入值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-number-limit</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">指定最多允许选取tag个数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line384">line 384</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Examples</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="splitText" class="form-control" data-select2-type="tags" value="A,D" data-tags="A,B,C,D" /></code></pre>

    <pre class="prettyprint"><code> &lt;form:input path="splitText" class="form-control" data-select2-type="tags" value="A,D" data-url="https://api.myjson.com/bins/444cr" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initSubGrid"><span class="type-signature"></span>initSubGrid<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        初始化普通子表格
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line2983">line 2983</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="initTextareaHtmleditor"><span class="type-signature"></span>initTextareaHtmleditor<span class="signature">(data-htmleditor, data-height)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        将textarea转换为HTML可视化编辑器: textarea[data-htmleditor]
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-htmleditor</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">编辑器类型：'kindeditor'</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'编辑器高度' 默认500</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line726">line 726</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;label class="control-label" data-tooltips="[输入提示说明内容]">金额&lt;/label></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initTextareaMaxlength"><span class="type-signature"></span>initTextareaMaxlength<span class="signature">(maxlength)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        文本框可输入字符数显示和校验: textarea[maxlength]为包含maxlength属性的textarea添加基于jquery maxlength的最大输入提示效果
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>maxlength</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">'最大可输入字符数'</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line704">line 704</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:textarea path="textContent" class="form-control" maxlength="100" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initTreeSelect"><span class="type-signature"></span>initTreeSelect<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于zTree数据结构构造树形选取组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tree-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">返回zTree结构JSON数据的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">基于jQuery UI position的位置参数，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line111">line 111</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="tree-select" data-url="${ctx}/department/tree-datas.json"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadBigFile"><span class="type-signature"></span>initUploadBigFile<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        基于zTree数据结构构造树形选取组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-toggle</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">tree-select:组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-url</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">返回zTree结构JSON数据的URL</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-position</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">基于jQuery UI position的位置参数，可选参数</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line125">line 125</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="text" data-toggle="tree-select" data-url="${ctx}/department/tree-datas.json"/></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadMultiImage"><span class="type-signature"></span>initUploadMultiImage<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单图片上传组件: input[data-multiimage]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-multiimage</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">类型标识：btn=最后一个添加图片按钮; edit=显示编辑图片</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示宽度</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line284">line 284</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;input type="hidden" name="imagePaths[${status.index}]" data-multiimage="edit" data-pk="${status.index}" value="${item}" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadSingleFile"><span class="type-signature"></span>initUploadSingleFile<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单文件上传组件: input[data-upload="single-file"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-upload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">single-file：组件标识</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js_.html">w/app/page.js</a>, <a href="page.js_.html#line469">line 469</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:input path="product.videoPath" class="form-control" data-upload="single-file" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initUploadSingleImage"><span class="type-signature"></span>initUploadSingleImage<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        单图片上传组件: input[data-upload="single-image"]
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-upload</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">single-image：组件标识</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-width</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示宽度</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-image-height</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">预览图片显示高度</td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line165">line 165</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;form:hidden path="filePath" class="form-control" data-upload="single-image" data-image-width="80" data-image-height="80" /></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="initXEditable"><span class="type-signature"></span>initXEditable<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        为a链接元素添加xEditable功能: a.x-editable
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>data-url='编辑提交的URL'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-name='保存属性名称'</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-type="编辑元素类型"</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-pk='提交的主键pk属性值'，default：当前元素所在form的id元素值</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-original-title='弹出框的显示标题'，default：数据修改</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-placement='xEditable组件对应支持的可选值'，指定弹窗位置，default：top</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>data-required='true|false'，default：false</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last"></td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="page.js.html">admin/app/page.js</a>, <a href="page.js.html#line552">line 552</a>
    </li></ul></dd>
    
    
    
    
    
    <dt class="tag-see">See:</dt>
    <dd class="tag-see">
        <ul>
            <li><a href="http://vitalets.github.io/x-editable/docs.html">http://vitalets.github.io/x-editable/docs.html</a></li>
        </ul>
    </dd>
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> &lt;<a class="editable editable-click x-editable" href="javascript:;" data-name="disabled"
                                            data-url="${ctx}/admin/user/edit" data-pk="${id}" data-type="select"
                                            data-source="{true:'停用',false:'启用'}">${disabled}</a></code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getAtLeastOneSelectedItem"><span class="type-signature"></span>jqgrid-getAtLeastOneSelectedItem<span class="signature">(includeSubGird)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid至少选择一项,如果没有选择则Alert提示
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>includeSubGird</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否包含子表格数据项，默认false</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line495">line 495</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    选取行项的ID数组
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getAtLeastOneSelectedItem()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getEditingRowdata"><span class="type-signature"></span>jqgrid-getEditingRowdata<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取正在编辑行项的各表单元素值
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line766">line 766</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    各编辑元素内容组装的JSON结构数据
</div>



        
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getOnlyOneSelectedItem"><span class="type-signature"></span>jqgrid-getOnlyOneSelectedItem<span class="signature">(requireAlert)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid唯一选择行项,如果没有选择或多选则Alert提示
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>requireAlert</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">必选警告标识，如果为true则会给出提示信息，为false则直接不提示直接返回false标识</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line544">line 544</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选取行项的ID值
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getOnlyOneSelectedItem()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getSelectedRowdata"><span class="type-signature"></span>jqgrid-getSelectedRowdata<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid已选择selrow单行项rowdata数据
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line611">line 611</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选行项rowdata
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getSelectedRowdata()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-getSelectedRowdatas"><span class="type-signature"></span>jqgrid-getSelectedRowdatas<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        获取Grid已选择selarrrow多行项数组rowdata数据
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line583">line 583</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    已选行项rowdata数组
</div>



        
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.getSelectedRowdatas()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-isEditingMode"><span class="type-signature"></span>jqgrid-isEditingMode<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        检测表格当前是否处于编辑模式
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line784">line 784</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    布尔值
</div>



        
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-refresh"><span class="type-signature"></span>jqgrid-refresh<span class="signature">()</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        刷新Grid组件
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line363">line 363</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
    <pre class="prettyprint"><code> $grid.refresh()</code></pre>

    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-setEditingRowdata"><span class="type-signature"></span>jqgrid-setEditingRowdata<span class="signature">(rowdata, forceOverwrite)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        快速修改设置正在编辑行项的各表单元素值
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>rowdata</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">json结构数据，不用完整的行项数据可以是部分name和value值</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>forceOverwrite</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">是否强制覆盖已有值,true=直接覆盖，false=如果已有值则跳过赋值</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line729">line 729</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <h4 class="name" id="jqgrid-sumColumn"><span class="type-signature"></span>jqgrid-sumColumn<span class="signature">(col, decimalPlaces)</span><span class="type-signature"></span></h4>
    
    
</dt>
<dd>
    
    
    <div class="description">
        列求和帮助方法，添加小数位保留处理，默认两位
    </div>
    

    
    
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>col</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">求和列属性名称</td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>decimalPlaces</code></td>
            
            
            <td class="type">
            
            </td>
            
            
            
            
            
            <td class="description last">保留小数位数</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="grid.js.html">admin/app/grid.js</a>, <a href="grid.js.html#line808">line 808</a>
    </li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    求和结果数字
</div>



        
    
    
</dd>

        </dl>
    
    
    
    
    
</article>

</section>  




</div>

<nav>
    <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="AdminPage.html">AdminPage</a></li><li><a href="Grid.html">Grid</a></li><li><a href="SitePage.html">SitePage</a></li></ul><h3>Global</h3><ul><li><a href="global.html#initAjaxBeforeShow">initAjaxBeforeShow</a></li><li><a href="global.html#initControlLabelTooltips">initControlLabelTooltips</a></li><li><a href="global.html#initDataProfileParam">initDataProfileParam</a></li><li><a href="global.html#initDatePicker">initDatePicker</a></li><li><a href="global.html#initDateRangePicker">initDateRangePicker</a></li><li><a href="global.html#initDateTimePicker">initDateTimePicker</a></li><li><a href="global.html#initDropdownSelect">initDropdownSelect</a></li><li><a href="global.html#initDynamicTable">initDynamicTable</a></li><li><a href="global.html#initGrid">initGrid</a></li><li><a href="global.html#initImagePreivew">initImagePreivew</a></li><li><a href="global.html#initMultiSelectDouble">initMultiSelectDouble</a></li><li><a href="global.html#initRecursiveSubGrid">initRecursiveSubGrid</a></li><li><a href="global.html#initSelect2">initSelect2</a></li><li><a href="global.html#initSelect2Remote">initSelect2Remote</a></li><li><a href="global.html#initSelect2Tags">initSelect2Tags</a></li><li><a href="global.html#initSubGrid">initSubGrid</a></li><li><a href="global.html#initTextareaHtmleditor">initTextareaHtmleditor</a></li><li><a href="global.html#initTextareaMaxlength">initTextareaMaxlength</a></li><li><a href="global.html#initTreeSelect">initTreeSelect</a></li><li><a href="global.html#initUploadBigFile">initUploadBigFile</a></li><li><a href="global.html#initUploadMultiImage">initUploadMultiImage</a></li><li><a href="global.html#initUploadSingleFile">initUploadSingleFile</a></li><li><a href="global.html#initUploadSingleImage">initUploadSingleImage</a></li><li><a href="global.html#initXEditable">initXEditable</a></li><li><a href="global.html#jqgrid-getAtLeastOneSelectedItem">jqgrid-getAtLeastOneSelectedItem</a></li><li><a href="global.html#jqgrid-getEditingRowdata">jqgrid-getEditingRowdata</a></li><li><a href="global.html#jqgrid-getOnlyOneSelectedItem">jqgrid-getOnlyOneSelectedItem</a></li><li><a href="global.html#jqgrid-getSelectedRowdata">jqgrid-getSelectedRowdata</a></li><li><a href="global.html#jqgrid-getSelectedRowdatas">jqgrid-getSelectedRowdatas</a></li><li><a href="global.html#jqgrid-isEditingMode">jqgrid-isEditingMode</a></li><li><a href="global.html#jqgrid-refresh">jqgrid-refresh</a></li><li><a href="global.html#jqgrid-setEditingRowdata">jqgrid-setEditingRowdata</a></li><li><a href="global.html#jqgrid-sumColumn">jqgrid-sumColumn</a></li></ul>
</nav>

<br clear="both">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.3-dev</a> on Mon May 18 2015 13:31:40 GMT+0800 (CST)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>